package com.snopy.concurrency.demo_base;

import java.io.File;


/**
 * @author snopy
 * @description:
 * @classname Test5
 * @date 2020/10/12 12:48
 * @email 77912204@qq.com
 */
public class Test5 {

    public static void main(String[] args) {
        String baseDir = "D:\\CompanyWorkFile\\temp";
        String[] list = new File(baseDir).list();

        for (String fileName:list){

            File f = new File(baseDir+File.separator+fileName);
            System.out.println(f.getName());
        }

    }

}
